@extends('layouts.comment')
@section('css')
<style>
    td{
        text-align: center;
    }
</style>
@endsection
@section('content')
<div id="dcMain">
    <div id="urHere">租伴 管理中心 > 置顶设置</div>
    <div id="index" class="mainBox" style="padding-top:18px;height:auto!important;height:550px;min-height:550px;">
        <div class="indexBox">
            <div class="boxTitle">置顶设置</div>
            <div style="margin-top: 15px;margin-bottom: 15px">
                <form action="top.html" method="post">
                    <input type="height" name="now" value="@if(isset($logs) && !empty($logs['now'])){{$logs['now']}}@endif">
                    <table>
                        <tr>
                            <td>昵称/租号：</td>
                            <td><input name="id" type="text" readonly="readonly" class="inpMain" value="@if(isset($logs) && !empty($logs['id'])){{$logs['id']}}@endif" size="20" /></td>
                        </tr>
                        <tr>
                            <td>浏览次数：</td>
                            <td><input name="num" type="text"  class="inpMain" value="@if(isset($logs) && !empty($logs['count'])){{$logs['count']}}@endif" size="20" /></td>
                        </tr>
                        <tr>
                            <td>时间段：</td>
                            <td><input type="text" id="start" name="top" class="inpMain" value="@if(isset($logs) && !empty($logs['top'])){{date('Y-m-d H:i:s',$logs['top'])}}@endif" ></td>
                        </tr>

                    </table>(置顶类型二选一)
                    <input  class="btnGray" type="submit" value="确定" />
                </form>
            </div>
        </div>
    </div>
</div>
@endsection
@section('js')
<script type="text/javascript" src="{{asset('/js')}}/laydate.js"></script>
<script>
    //执行一个laydate实例
    laydate.render({
         elem: '#start' //指定元素
        ,type:'datetime'
    });
</script>
</script>
@endsection